home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / onefor.arc / ONEFOR.DOC < prev   
Text File  |  1985-08-11  |  3KB  |  104 lines

  1.  
  2.  
  3.                    FORMAT COMMAND MODIFICATION
  4.  
  5.                   -Single Disk Format and Exit-
  6.  
  7. The  modification  is  supplied  as a  modified  format  program, 
  8. "ONEFOR.COM",  a  batch file example "TWOFOR.BAT",  and  a  DEBUG 
  9. script to permit re-installation of the modification.
  10.  
  11. THe purpose of this modification is to permit rapid formatting of 
  12. a large number of diskettes with a minimum of intervention.
  13.  
  14. Requirements
  15.  
  16. Effective use of this mod requires:
  17.  
  18.  *  IBM Personal Computer with 128K or more of main storage.
  19.  *  Three disk drives, or two disk drives and any RAMDISK type
  20.     storage-based disk emulator.
  21.  *  A large pile of unformatted diskettes.
  22.  
  23. Operation
  24.  
  25. Use  of  the ONEFOR program is begun by copying the TWOFOR  batch 
  26. file  and  the  ONEFOR.COM  file to the "C:"  drive  (Or  to  the 
  27. RAMDISK).  This drive will become the default:
  28.  
  29.           copy onefor.com c:
  30.           copy twofor.bat c:
  31.           c:
  32.        C>   <----at this point setup is complete:
  33.  
  34. Now  place  an unformatted disk in each of drives A  &  B  ,  and 
  35. enter:
  36.  
  37.           twofor
  38.  
  39. ..The diskette in Drive B: will immediately begin formatting ..
  40.  
  41. Most  of the usual FORMAT command messages will  appear,  but  no 
  42. operator prompts will be expected. The ONEFOR command formats one 
  43. diskette and exits. The combination of the ONEFOR command and the 
  44. TWOFOR batch file allows for continuous formatting on both drives 
  45. A:  &  B:,  while  allowing  complete  overlap  of  the  physical 
  46. replacement of diskettes, and the actual formatting of the media.
  47.  
  48. ..  When  the B:  disk has been formatted,  the system will  BEEP 
  49. twice, and then begin to format the diskette in the A: drive. Now 
  50. the disk in the B: drive must be replaced, before the two BEEP's 
  51. which signal the end of the A: drive format .. and so the loop of
  52. the TWOFOR batch file bumps back and forth between the A: and B:
  53. drives.
  54. .pa
  55.  
  56.                       Technical Attachment
  57.  
  58.  
  59. TWOFOR.BAT
  60.  
  61.      FORMAT B: /1/S/V    
  62.      FORMAT A: /1/S/V    
  63.      TWOFOR
  64.                
  65. This batch file alternates formats between drives A: and B:
  66. and  re-invokes  itself endlessly.   The formatting loop  can  be 
  67. terminated by depressing CTRL-BREAK during any message display.
  68. If  CNTRL-BREAK  is  pressed while formatting,  it  will  not  be 
  69. recognized until the next message is displayed.
  70.  
  71. DEBUG Script for ONEFOR.COM
  72.  
  73.  
  74. A>debug format.com
  75. -nonefor.com
  76. -d1e0,1ef
  77. xxxx:01E0 06 BA F5 06 E8 4F 02 BA 18-07 E8 49 02 E8 5A 02 ......
  78. -e1ed,90,90,90
  79. -d450,45f
  80. xxxx:0450 BA 4B 07 E8 E0 FF B8 01 0C-CD 21 24 DF 3C 59 74 ......
  81. -E456,90,90,90,90,90,90,90,90,90,90,90,90,90,EB
  82. -d718,71f
  83. xxxx:0718 -61 6E 64 20 73 74 72 69                        ......
  84. -e718,07,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  85. -e728,00,00,00,00,00,00,00,00,00,00,00,00,07
  86.  
  87. u450,464
  88.      MOV  DX,074B
  89.      CALL 0436
  90.      NOP
  91.      .
  92.      .    (Thirteen NOP's)
  93.      .
  94.      JMPS 046A
  95. -W
  96. Writing XXXX BYTES
  97. -Q
  98. A>... At this point the ONEFOR.COM program is created.
  99.  
  100. This program has all of the native capability of FORMAT, but will 
  101. only  format one disk before exitting,  and will BEEP twice  when 
  102. the format is complete.
  103.  
  104.